package org.jeecg.modules.hotel.requisition.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 调退宿申请
 * @Author: jeecg-boot
 * @Date:   2021-05-04
 * @Version: V1.0
 */
@Data
@ApiModel(value="导出假期实体类", description="导出假期实体类")
public class LwgyHotelHoliday implements Serializable {
    private static final long serialVersionUID = 1L;

    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**学生*/
    @ApiModelProperty(value = "学生")
    private String studentId;
    /**姓名*/
    @Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "姓名")
    private String studentName;
    /**学号*/
    @Excel(name = "学号", width = 15)
    @ApiModelProperty(value = "学号")
    private String studentNumber;
	/**性别*/
    /*@Excel(name = "性别", width = 15, dicCode = "sex")*/
    @Dict(dicCode = "sex")
    @ApiModelProperty(value = "性别")
    private String roomsex;

    @Excel(name = "学历", width = 15,dicCode = "student_education")
    @Dict(dicCode = "student_education")
    @ApiModelProperty(value = "学历")
    private String studentEducation;

    /**校区*/
    @Excel(name = "校区", width = 15,dictTable = "lwgy_base_school",dicCode = "id",dicText = "name")
    @Dict(dictTable = "lwgy_base_school",dicCode = "id",dicText = "name")
    @ApiModelProperty(value = "校区")
    private String studentCampus;
    /**院系*/
    @Excel(name = "院系", width = 15,dictTable = "lwgy_base_school",dicCode = "id",dicText = "name")
    @Dict(dictTable = "lwgy_base_school",dicCode = "id",dicText = "name")
    @ApiModelProperty(value = "院系")
    private String studentCollege;
    /**专业*/
    @Excel(name = "专业", width = 15,dictTable = "lwgy_base_school",dicCode = "id",dicText = "name")
    @Dict(dictTable = "lwgy_base_school",dicCode = "id",dicText = "name")
    @ApiModelProperty(value = "专业")
    private String studentMajor;
    /**班级*/
    @Excel(name = "班级", width = 15,dictTable = "lwgy_base_school",dicCode = "id",dicText = "name")
    @Dict(dictTable = "lwgy_base_school",dicCode = "id",dicText = "name")
    @ApiModelProperty(value = "班级")
    private String studentClass;
    /**年级*/
    @Excel(name = "年级", width = 15,dictTable = "lwgy_base_school",dicCode = "id",dicText = "name")
    @Dict(dictTable = "lwgy_base_school",dicCode = "id",dicText = "name")
    private String studentYear;

    /**楼宇*/
    @Excel(name = "假期楼宇", width = 15,dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
    @Dict(dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "楼宇")
    private String buildingId;
    /**房间*/
    @Excel(name = "假期房间", width = 15,dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
    @Dict(dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "房间")
    private String roomId;
    /**假期床位*/
    @Excel(name = "假期床位", width = 15)
    @ApiModelProperty(value = "假期床位")
    private String name;
	/**行为分类*/
	@Dict(dicCode = "hotel_stu_behavior")
    @ApiModelProperty(value = "事务分类")
    private String behavioral;
	/**申请时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "申请时间")
    private Date createTime;
	/**处理状态*/
    @Dict(dicCode = "processing_state")
    @ApiModelProperty(value = "处理状态")
    private String processingState;
    /**是否有效*/
    @ApiModelProperty(value = "是否有效")
    private String delFlag;
    /**楼宇*/
    @Excel(name = "原楼宇", width = 15,dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
    @Dict(dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "原楼宇")
    private String oldBuildId;
    /**房间*/
    @Excel(name = "原房间", width = 15,dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
    @Dict(dictTable = "lwgy_base_apartment", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "原房间")
    private String oldRoomId;

    /**原因*/
    @Excel(name = "原因", width = 15)
    @ApiModelProperty(value = "原因")
    private String reason;

    /**假期学生id*/
    private String holidayStudentId;

    /**留校开始时间*/
    @Excel(name = "留校开始时间", width = 15)
    @ApiModelProperty(value = "留校开始时间")
    private String stayStartTime;
    /**留校结束时间*/
    @Excel(name = "留校结束时间", width = 15)
    @ApiModelProperty(value = "留校结束时间")
    private String stayEndTime;
    /**学生联系方式*/
    @Excel(name = "学生联系方式", width = 15)
    @ApiModelProperty(value = "学生联系方式")
    private String phoneNumber;
    /**辅导员/导师姓名*/
    @Excel(name = "辅导员/导师姓名", width = 15)
    @ApiModelProperty(value = "辅导员/导师姓名")
    private String teacherName;


}
